let setting = {};

// table字段
setting.columns = [
  {
    label: "姓名",
    prop: "name",
    width: 160,
    formatter: function (row, column) {
      if(row.sex==0) return row.name + '先生'
      else return row.name + '女士'
    }
  },
  {
    label: "性别",
    prop: "sex",
    width: 200,
    formatter: function (row, column) {
        if(row.sex==0) return '男'
        else return '女'
    }
  },
];

export default setting;
